package org.ogv.usada.models;

import org.ogv.OGV;

import com.badlogic.gdx.graphics.g2d.TextureRegion;

public class LeafDef {
	//Members that reflect to Json
	public String 		name;
	public String 		desc;
	public String[][] 	imageFiles;
	public String		slicedSound;
	public float 		hitRadius;
	public float[] 		splatColor;
	public String[]		smallImage;
	
	private TextureRegion _smallTex;
	
	public TextureRegion getSmallTexture() {
		if(_smallTex == null) _smallTex = OGV.asset.getTextureRegion(smallImage);
		return _smallTex;
	}
}
